Xbasic

{ENDTAB}

Description

Terminates a {TAB}, {DEFAULTTABSTOPS}, {TABSTOPS}, or {NOTABSTOPS} command.

Example

The following script displays a dialog with a tab control:

dim a_card_type100 as C
x = "American Express,Visa,Master Card,Discover"
a_card_type.initializex,",",crlf(?)
dim a_expire_month12 as C
x = "01,02,03,04,05,06,07,08,09,10,11,12"
a_expire_month.initializex,",",crlf(?)
dim a_expire_year10 as C
x = "2000,2001,2002,2003,2004,2005,2006,2007,2008,2009"
a_expire_year.initializex,",",crlf(?)
page = "Billing"
result = ui_dlg_box("Title",<<%dlg%
{tab=page}
{pane=Billing}
{region}
First name:| .32firstname ;
Last name:| .32lastname ;
Address 1:| .32address1 ;
Address 2:| .32address2 ;
City:| .32City ;
State:| State ;
Zip:| Zip
{endregion};
{pane=Shipping}
{region}
First name:| .32firstname ;
Last name:| .32lastname ;
Address 1:| .32address1 ;
Address 2:| .32address2 ;
City:| .32City ;
State:| State ;
Zip:| Zip
{endregion};
{pane=Credit Card}
{region}
Card Type:| .32card_type^=a_card_type ;
Card Number:| .32card_number ;
Expiration:| .4expiry_month^=a_expire_month .5expiry_year^=a_expire_year ;
{endregion};
{endtab}|
{Region3}
 <10&OK>;
 <10&Cancel>
{Endregion3}
%dlg%)

See Also